package com.ruoyi.community.mapper;

import com.ruoyi.community.domain.HelpVote;

import java.util.List;

public interface HelpVoteMapper {
    int deleteByPrimaryKey(Integer voteId);

    int insert(HelpVote record);

    int insertSelective(HelpVote record);

    HelpVote selectByPrimaryKey(Integer voteId);

    int updateByPrimaryKeySelective(HelpVote record);

    int updateByPrimaryKey(HelpVote record);

    List<HelpVote> selectAllHelpVotes();

    List<HelpVote> selectHelpVotesByCommunityId(Integer communityId);
}